package com.admin.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * @author caixiaofeng
 * @version 1.0
 * @Description: <<>>
 * @company cxf
 * @create 2021-01-27 23:09
 */
@ApiModel("认证实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuthUserDto {
    @ApiModelProperty("账号")
    @NotBlank(message = "账号不能为空")
    private String username;
    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String password;

}
